package com.lzh.chatnote.chat.domain.vo.request.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "发送消息请求参数")
@Data
public class MessageSendReq {

    @NotNull(message = "房间id不能为空")
    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @NotNull(message = "消息类型不能为空")
    @ApiModelProperty(value = "消息类型")
    private Integer msgType;

    @NotNull(message = "消息内容不能为空")
    @ApiModelProperty(value = "消息内容")
    private Object message;
}
